
import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'



//引入初始化样式
import "@/styles/common.scss"
//引入插件
import { myPlugin } from "@/directives/index"
//引入全局注册的组件
import { componentsPulgin } from '@/components/index.js'
const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(componentsPulgin)
app.mount('#app')
app.use(myPlugin)